package com.itheima.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import java.util.List;

/*
*   订单详情实体类
* */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetails {
    private int id;
    private int quantity; // 下单商品数量
    private double price; // 下单商品总价
    private List<Product> productList; // 该订单下的所有产品
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
